package com.abc.robot01.room.bean

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * @author qiandu
 */
@Entity(tableName = CmdBean.TABLE_NAME)
data class CmdBean(
    @ColumnInfo(name = "id")
    @PrimaryKey(autoGenerate = true)
    val id: Long = 0,
    @ColumnInfo(name = "name")
    var name: String = "",
) {
    companion object {
        const val TABLE_NAME = "cmd"
    }
}
